package com.gdut.simple.contract;

import com.gdut.simple.basic.IPresenter;
import com.gdut.simple.basic.IView;
import com.gdut.simple.data.entity.Favorites;
import com.gdut.simple.data.entity.User;

import java.util.List;

public interface FavoritesContract {

    interface View extends IView<Presenter> {

        User getUser();

        List<List<Favorites>> getItemList();

        List<String> getTypes();

        void refreshList();

        void showRefreshProgress();

        void hideRefreshProgress();
    }

    interface Presenter extends IPresenter {
        void loadData();
    }

}
